METHODS_INFO = {
    # 从body中得到的字段
    1: ("name", "password"),
    2: ("account", "password"),
    3: ("account",),
    4: ("",),
    5: ("number",),
    6: ("number",),
    7: ("name",),
    8: ("number",),
    9: ("number",),
    10: ("pic",),
    11: ("",),
    12: ("",),
    13: ("number",),
    14: ("name",),
    15: ("info",),
    16: ("password",),
    17: ("img",),
    18: ("msg",),
}  # 用于从body中获取到相关的字段self.data["body"]

MAP_FUNC = {
    "register": 1,
    "login": 2,
    "logout": 3,
    "destruct": 4,
    "add_friend": 5,
    "del_friend": 6,
    "create_group": 7,
    "add_group": 8,
    "del_group": 9,
    "send_img": 10,
    "show_friends": 11,
    "show_groups": 12,
    "search_friend": 13,
    "search_group": 14,
    "modify_info": 15,
    "modify_password": 16,
    "upload_img": 17,
    "send_msg": 18
}
